# 成绩大于等于85,good; 大于等于60,soso;大于等于50,bad;小于50,so bad;
cj = int(input())
if cj >= 85:
    print('good')
elif cj >= 60:
    print('soso')
elif cj >= 50:
    print('bad')
else:
    print('so bad')